package com.xcm.model;

/**
 * 操作日志
 *
 * @author 林强
 * @date 2018-04-12 11:15
 */
public class SysOptLog {
    private Integer optLogId;
    private Integer userId;
    private String userName;
    private String ip;
    private String method;
    private String params;
    private String operate;
    private String operateTime;

    public SysOptLog() {
    }

    public SysOptLog(Integer optLogId, Integer userId, String userName, String ip, String method, String params, String operate, String operateTime) {
        this.optLogId = optLogId;
        this.userId = userId;
        this.userName = userName;
        this.ip = ip;
        this.method = method;
        this.params = params;
        this.operate = operate;
        this.operateTime = operateTime;
    }

    public Integer getOptLogId() {
        return optLogId;
    }

    public void setOptLogId(Integer optLogId) {
        this.optLogId = optLogId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    public String getOperate() {
        return operate;
    }

    public void setOperate(String operate) {
        this.operate = operate;
    }

    public String getOperateTime() {
        return operateTime;
    }

    public void setOperateTime(String operateTime) {
        this.operateTime = operateTime;
    }

    @Override
    public String toString() {
        return "SysOptLog{" +
                "optLogId=" + optLogId +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", ip='" + ip + '\'' +
                ", method='" + method + '\'' +
                ", params='" + params + '\'' +
                ", operate='" + operate + '\'' +
                ", operateTime='" + operateTime + '\'' +
                '}';
    }
}
